<!DOCTYPE html>
<html>

<head>
    <title>数据绑定学习</title>
</head>

<body>
    <div id="name"></div>
    <input type="text" id="miput" data-bind="a">
    <input type="text" id="miput2"  data-bind="a">
    <div data-bind='a'>34</div>
    <script src="databind.js"></script>
    <script>
        var ops = {
                    binds:{
                            a:"初始值",
                            b:"谁是谁"
                           }
                };
        var page = new PageHandler(ops);
        page.init();

    </script>
</body>

</html>